//
// Created by 冷月祭诗魂 on 2025/4/23.
//
#include <stdexcept>  // 包含标准异常基类

#ifndef INDEXOUTOFBOUNDSEXCEPTION_H
#define INDEXOUTOFBOUNDSEXCEPTION_H

class IndexOutOfBoundsException : public std::out_of_range {
public:
    explicit IndexOutOfBoundsException(const std::string& msg)
        : std::out_of_range(msg) {}
};

#endif //INDEXOUTOFBOUNDSEXCEPTION_H
